from django.urls import path
from . import views

app_name = 'tower'
urlpatterns = [
    # 展示楼房信息
    #path('show_tower/',views.show_tower,name = 'show_tower'),
    # 测试使用的 html
    path('test_tower/', views.test_tower, name='test_tower'),
    # 添加楼
    path('add_building/', views.add_building, name='add_building'),
    # 添加楼层
    path('add_floor/', views.add_floor, name='add_floor'),
    # 添加房间
    path('add_room/', views.add_room, name='add_room'),
    # 删除楼
    path('del_tower/', views.del_tower,  name='del_tower'),
    # 删除楼层
    path('del_floor/', views.del_floor,  name='del_floor'),
    # 删除房间
    path('del_room/', views.del_room,  name='del_room'),
    # 更改楼
    path('change_tower/', views.change_tower, name='change_tower'),
    # 更改楼层
    path('change_floor/', views.change_floor, name='change_floor'),
    # 更改房间
    path('change_room/', views.change_room, name='change_room'),
    # 查询楼
    path('inquire_tower/', views.inquire_tower, name='inquire_tower'),
    # 查询楼层
    path('inquire_floor/', views.inquire_floor, name='inquire_floor'),
    # 查询房间
    path('inquire_room/', views.inquire_room, name='inquire_room'),
]
